package com.sxj.springsourcecode.springframework.io.config;

/**
 * @ProjectName: spring-source-code
 * @Package: com.sxj.springsourcecode.springframework.io.config
 * @ClassName: ResourceLoader
 * @Author: sxj
 * @Description: 资源加载器
 * @Date: 2024/2/21 22:37
 * @Version: 1.0.0
 */
public interface ResourceLoader {
    String CLASSPATH_PREFIX = "classpath:";
    /**
     * 获取资源
     * @param location
     */
    Resource getResource(String location);
}
